
// 初始化参数配置    （用于传入后台生成）
var initData = [
    {
        type:'Carousel',
        moduleName:'轮播大图',
        carouselType:1,
        imgList:[],
        time:0,
        event:'',
        paddingBottom:0,
        paddingTop:0
    },
    {
        type:'CarouselSmall',
        moduleName:'轮播小图',
        carouselType:1,
        isRotate:'2',
        imgList:[{
            textContent:'DR体验店服务咨询',
            textColor:'#ffffff',
            btnBgColor:'#7a584c',
        },{
            textContent:'DR体验店服务咨询',
            textColor:'#ffffff',
            btnBgColor:'#7a584c',
        },{
            textContent:'DR体验店服务咨询',
            textColor:'#ffffff',
            btnBgColor:'#7a584c',
        }],
        // time:0,
        event:'',
        paddingBottom:0,
        paddingTop:0,
        imgPercent:0.8,
    },
    {
        type:'OneImg',
        moduleName:'单张图',
        event:'',
        paddingBottom:0,
        paddingTop:0,
        imageUrl:'',
        imgHeight:0,
        jumpUrl:''
    },
    {
        type:'ImgNav',
        moduleName:'图片导航',
        imgList:[{id:1,imageUrl:'',jumpUrl:''},{id:2,imageUrl:'',jumpUrl:''},{id:3,imageUrl:'',jumpUrl:''},{id:4,imageUrl:'',jumpUrl:''}],
        spaceSize:19,
        bgUrl:'',
        event:'',
        paddingBottom:0,
        paddingTop:0,
    },
    // {
    //     type:'SmallBanner',
    //     moduleName:'轮播小图',
    //    icon:require('@/assets/img/editContent/icon-component-carousel-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-carousel-sel.png')
    // },
    // {
    //     type:'Carousel',
    //     moduleName:'视频',
    //    icon:require('@/assets/img/editContent/icon-component-video-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-video-sel.png')
    // },
    {
        type:'Magic',
        moduleName:'魔方',
        imgList:[{id:0,imageUrl:'',jumpUrl:''},{id:1,imageUrl:'',jumpUrl:''}],
        navDetail:{ number:2,type:'column'},
        activeNav :0,
        event:'',
        paddingBottom:0,
        paddingTop:0,
        spaceSize:0,
    },
    // {
    //     type:'Carousel',
    //     moduleName:'商品分类',
    //    icon:require('@/assets/img/editContent/icon-component-assort-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-assort-sel.png')
    // },
    {
        type:'Text',
        moduleName:'文本',
        textColor:'#666666',
        bgColor:'#FFFFFF',
        textAlign:'center',
        textFontFamily:'Microsoft YaHei',
        fontSize:24,
        paddingBottom:0,
        paddingTop:0,
        event:'',
    },
    // {
    //     type:'Carousel',
    //     moduleName:'电梯',
    //    icon:require('@/assets/img/editContent/icon-component-elevator-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-elevator-sel.png')
    // },
    // {
    //     type:'Carousel',
    //     moduleName:'图上按钮',
    //    icon:require('@/assets/img/editContent/icon-component-btn-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-btn-sel.png')
    // },
    {
        type:'Floatwin',
        moduleName:'悬浮窗',
        list:[{type:1,title:'新人礼',checked:true,event:''},{type:2,title:'在线客服',checked:true,event:''},{type:3,title:'预约有礼',checked:true,event:''}]
    },
    {
        type:'Order',
        moduleName:'预约模块',
        paddingBottom:0,
        paddingTop:0,
        bgUrl:''
    },
    {
        type:'BottomFloat',
        moduleName:'底部浮层',
        lineHeight:80,
        btnList:[
            {
                bgOrBorderColor: "#A98F83",
                borderType: "2",
                fontSize: 28,
                textColor: "#FFFFFF",
                textContent: "在线咨询",
                textFontFamily: "Microsoft YaHei",
                jumpType:'',
            },
            {
                bgOrBorderColor: "#A98F83",
                borderType: "2",
                fontSize: 28,
                textColor: "#FFFFFF",
                textContent: "预约进店",
                textFontFamily: "Microsoft YaHei",
                jumpType:'',
            }
        ],
    },
    {
        type:'ImgButton',
        moduleName:'图上按钮',
        bottom:0,
        borderRadius:0,
        textPadding:80,
        lineHeight:80,
        btnList:[],
        btnMargin:10,
        btnAlign:'center',
    },
    {
        type:'Video',
        moduleName:'视频',
        loop:true,
        paddingBottom:0,
        paddingTop:0,
    },
    // {
    //     type:'Buttons',
    //     moduleName:'按钮',
    //     btnList:[
    //         {
    //             bgColor: "#8b776c",
    //             bgOrBorderColor: "#ED8E8E",
    //             borderType: "1",
    //             fontSize: 28,
    //             textColor: "#FFFFFF",
    //             textContent: "在线咨询",
    //             textFontFamily: "Microsoft YaHei",
    //         },
    //         {
    //             bgColor: "#8b776c",
    //             bgOrBorderColor: "#ED8E8E",
    //             borderType: "1",
    //             fontSize: 28,
    //             textColor: "#FFFFFF",
    //             textContent: "预约进店",
    //             textFontFamily: "Microsoft YaHei",
    //         }
    //     ],
    // },
    // {
    //     type:'Carousel',
    //     moduleName:'按钮',
    //     icon:require('@/assets/img/editContent/icon-component-button-nor.png'),
    //     activeIcon:require('@/assets/img/editContent/icon-component-button-sel.png')
    // },
]

// 界面配置
var jsonData = [
    {
        type:'Carousel',
        moduleName:'轮播大图',
        icon:require('@/assets/img/editContent/icon-component-banner-nor.png'),
        activeIcon:require('@/assets/img/editContent/icon-component-banner-sel.png'),
        hoverIcon:require('@/assets/img/editContent/icon-component-banner-hov.png'),
    },
    {
        type:'CarouselSmall',
        moduleName:'轮播小图',
        icon:require('@/assets/img/editContent/icon-component-carousel-nor.png'),
        activeIcon:require('@/assets/img/editContent/icon-component-carousel-sel.png'),
        hoverIcon:require('@/assets/img/editContent/icon-component-carousel-hov.png'),
    },
    {
        type:'OneImg',
        moduleName:'单张图',
        icon:require('@/assets/img/editContent/icon-component-pic-nor.png'),
        activeIcon:require('@/assets/img/editContent/icon-component-pic-sel.png'),
        hoverIcon:require('@/assets/img/editContent/icon-component-pic-hov.png')
    },
    {
        type:'ImgNav',
        moduleName:'图片导航',
       icon:require('@/assets/img/editContent/icon-component-nav-nor.png'),
       activeIcon:require('@/assets/img/editContent/icon-component-nav-sel.png'),
       hoverIcon:require('@/assets/img/editContent/icon-component-nav-hov.png')
    },
    // {
    //     type:'SmallBanner',
    //     moduleName:'轮播小图',
    //    icon:require('@/assets/img/editContent/icon-component-carousel-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-carousel-sel.png')
    // },
    // {
    //     type:'Carousel',
    //     moduleName:'视频',
    //    icon:require('@/assets/img/editContent/icon-component-video-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-video-sel.png')
    // },
    {
        type:'Magic',
        moduleName:'魔方',
       icon:require('@/assets/img/editContent/icon-component-layout-nor.png'),
       activeIcon:require('@/assets/img/editContent/icon-component-layout-sel.png'),
       hoverIcon:require('@/assets/img/editContent/icon-component-layout-hov.png'),

    },
    // {
    //     type:'Carousel',
    //     moduleName:'商品分类',
    //    icon:require('@/assets/img/editContent/icon-component-assort-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-assort-sel.png')
    // },
    {
        type:'Text',
        moduleName:'文本',
        icon:require('@/assets/img/editContent/icon-component-text-nor.png'),
        activeIcon:require('@/assets/img/editContent/icon-component-text-sel.png'),
       hoverIcon:require('@/assets/img/editContent/icon-component-text-hov.png'),

    },
    // {
    //     type:'Carousel',
    //     moduleName:'电梯',
    //    icon:require('@/assets/img/editContent/icon-component-elevator-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-elevator-sel.png')
    // },
    // {
    //     type:'Carousel',
    //     moduleName:'图上按钮',
    //    icon:require('@/assets/img/editContent/icon-component-btn-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-btn-sel.png')
    // },
    // {
    //     type:'Floatwin',
    //     moduleName:'悬浮窗',
    //    icon:require('@/assets/img/editContent/icon-component-floating-nor.png'),
    //    activeIcon:require('@/assets/img/editContent/icon-component-floating-sel.png'),
    //    hoverIcon:require('@/assets/img/editContent/icon-component-floating-hov.png'),

    // },
    // {
    //     type:'Order',
    //     moduleName:'预约模块',
    //     icon:require('@/assets/img/editContent/icon-component-reservation-nor.png'),
    //     activeIcon:require('@/assets/img/editContent/icon-component-reservation-sel.png'),
    //     hoverIcon:require('@/assets/img/editContent/icon-component-reservation-hov.png'),

    // },
    // {
    //     type:'BottomFloat',
    //     moduleName:'底部浮层',
    //     icon:require('@/assets/img/editContent/icon-component-bottomfloat-nor.png'),
    //     activeIcon:require('@/assets/img/editContent/icon-component-bottomfloat-sel.png'),
    //     hoverIcon:require('@/assets/img/editContent/icon-component-bottomfloat-hov.png'),

    // },
    // {
    //     type:'ImgButton',
    //     moduleName:'图上按钮',
    //     icon:require('@/assets/img/editContent/icon-component-btn-nor.png'),
    //     activeIcon:require('@/assets/img/editContent/icon-component-btn-sel.png'),
    //     hoverIcon:require('@/assets/img/editContent/icon-component-btn-hov.png'),
    // },
    // {
    //     type:'Buttons',
    //     moduleName:'按钮',
    //     icon:require('@/assets/img/editContent/icon-component-reservation-nor.png'),
    //     activeIcon:require('@/assets/img/editContent/icon-component-reservation-sel.png'),
    //     hoverIcon:require('@/assets/img/editContent/icon-component-reservation-hov.png'),
    // },
    {
        type:'Video',
        moduleName:'视频',
        icon:require('@/assets/img/editContent/icon-component-video-nor.png'),
        activeIcon:require('@/assets/img/editContent/icon-component-video-sel.png'),
        hoverIcon:require('@/assets/img/editContent/icon-component-video-hov.png'),
    },
   
]
export {jsonData,initData}